export const errimg = {
    inserted: function (dom, options) {
        dom.onerror = function () {
            dom.src = options.value
        }
    },
    componentUpdated: function (dom, options) {
        dom.src = dom.src || options.value
    }
}